var App = {};
var path = '/solar/site/';

/*
App.DepartamentoModel = Backbone.Model.extend({
	urlRoot: '<?php Yii::app()->baseUrl; ?>' + path + 'data',
	idAttribute: 'gid',
   parent: null
});

App.DepartamentoCollection = Backbone.Collection.extend({
	model: App.DepartamentoModel,
	url: '<?php Yii::app()->baseUrl; ?>' + path + 'data'
});
*/
App.MainView = Backbone.View.extend({
   el: 'body',
	events: {
	},
   initialize: function() {
      var self = this;
      $(window).bind('resize.app', _.bind(self.resize, self));
      this.render();
   },
	message_broker: function(message) {
		switch (message.message) {
		}
	},
	resize: function() {
   },
   render: function() {
	}
});